package com.java.controller;

import com.java.service.WeclomeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

/**
 * @Author: sijunqiang
 * @Date: 2020/4/25 17:58
 * @Description:
 */
@Controller
public class WelcomeController {


	@Autowired
	private WeclomeService weclomeService;

	/**
	 * 测试被注解标记的类是否被加载到spring 容器中
	 */
	public void handRequest() {
		weclomeService.sayHello(":world springframework ");
	}

}
